<?php 
session_start();
$iddt = $_SESSION['CTDT'];
 ?>
<script>
$(document).ready(function(){
	
	var opt = {
		handle: '#etoggle',
		dir: 'emotions/',
		label_on: 'On Emotions',
		label_off: 'Off Emotions',
		style: 'background: #eee',
		css: 'class2'
	}
	$('.noidung_comment').emotions(opt);
});
</script>

<?php
	require("dbcon.php");
	$sql="SELECT * FROM comment where masp = $iddt ORDER BY idComment DESC ";	
	$rs=mysql_query($sql) or die(mysql_error()); 
	while($row=mysql_fetch_array($rs)){	
?>

	  
		<p class="noidung_comment" align="left"><?php echo $row[3]." : ". $row[2]; ?> </div>
        
        
   		

<?php } ?> 